package com.novoda.runbuddy.util;

import java.util.Calendar;

import android.content.Context;
import android.database.Cursor;

import com.novoda.runbuddy.model.Run;
import com.novoda.runbuddy.model.ListOfRuns;
import com.novoda.runbuddy.model.ListOfRuns;

public class MockDBHelper implements IDBHelper {
	private ListOfRuns	mockListOfreturnedJogs;

	public MockDBHelper() {

		mockListOfreturnedJogs = new ListOfRuns();
		Run jog = new Run();
		jog.set_id(11);
		jog.setName("jog1201902890834");
		jog.setStartTime(1202603521216L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202603522664L);
		jog.setStopTimeCal(null);

		mockListOfreturnedJogs.add(jog);

		jog.set_id(12);
		jog.setName("jog32424832969");
		jog.setStartTime(1202603524468L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202603524468L);
		jog.setStopTimeCal(null);

		mockListOfreturnedJogs.add(jog);

		jog.set_id(13);
		jog.setName("jog1202604486489");
		jog.setStartTime(1202604484767L);
		jog.setStartTimeCal(null);
		jog.setStopTime(1202604486482L);
		jog.setStopTimeCal(null);

		mockListOfreturnedJogs.add(jog);

	}

	public void addRunEntry(Run entry) {

	}

	public void close() {

	}

	public void createJoggingEntriesDB(Context ctx) {

	}

	public void deleteJogEntry(long Id) {

	}

	public ListOfRuns fetchAllJogEntries() {
		return null;
	}

	public ListOfRuns fetchAllJogEntries(Integer day, Integer month, Integer year) {
		return null;
	}

	public ListOfRuns fetchAllThisMonthsJogEntries(Calendar calendar) {
		return null;
	}

	public ListOfRuns fetchAllTodaysRunEntries() {
		return mockListOfreturnedJogs;
	}

	public Run fetchJogEntry(long Id) {
		return null;
	}

	public Cursor getCursorOfAllRuns() {
		return null;
	}

	public void updateJogEntry(long Id, Run entry) {

	}

	public ListOfRuns fetchAllRunEntries() {
		return null;
	}

	public ListOfRuns fetchAllRunEntries(Integer day, Integer month,
			Integer year) {
		return null;
	}

}
